package com.testfileupload.uploadimg.design.abstractfactory.product;

import com.testfileupload.uploadimg.design.abstractfactory.product.abstractcreator.AbstractCreator;
import com.testfileupload.uploadimg.design.abstractfactory.product.abstractproduct.AbstrctProductA;
import com.testfileupload.uploadimg.design.simplefactory.chan.product.Creator;

public class Client {
    public static void main(String[] args) {
        AbstractCreator creator = new Creator1();
        AbstractCreator creator2 = new Creator2();
        AbstrctProductA productA = creator.createProductA();
        productA.doSomeThing();
        AbstrctProductA productA1 = creator2.createProductA();
        productA1.doSomeThing();
    }
}
